require_relative 'pdu'

module SmppClient

  module Pdu

    # This message can be sent by either the ESME or SMSC and is used to provide a confidence-
    # check of the communication path between an ESME and an SMSC. On receipt of this request
    # the receiving party should respond with an enquire_link_resp, thus verifying that the
    # application level connection between the SMSC and the ESME is functioning. The ESME may
    # also respond by sending any valid SMPP primitive.

    class EnquireLink < Pdu

      def initialize(byte_buffer = nil)
        if byte_buffer == nil
          super(CommandId::ENQUIRE_LINK)
        else
          super(byte_buffer)
        end
      end

    end

  end

end